<!DOCTYPE html>
<html>
<head>
    <title>教学特点</title>
    <meta  charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.2/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.0/css/jquery-weui.min.css">
    <link rel="stylesheet" href="https://jqweui.cn/dist/demos/css/demos.css ">
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_587767_rj4fkdnklqttvs4i.css ">
    <script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
    <style>
        input:focus {
            outline:none;
        }
    </style>
</head>

<body ontouchstart style="background: #eeefef">
<!--头部开始-->
<div class="page__bd">
    <form  action="{:url('Teacher/t21')}"  name="aa" method="post">
        <div class="weui-flex" style="border-bottom: 1px solid gainsboro;background: #FCFCFC;height: 45px">
            <div class="weui-flex__item" style="margin-top: 15px;">
                <div class="placeholder"style="margin-left: 10px;margin-top: -5px;" >
                    <a href="{:url('portal/teacher/teacher2')}">
                        <span  style="color: #04BE02;"  onclick="history.back()"  class="icon  icon-back"></span>
                    </a>
                </div>
            </div>
            <div class="weui-flex__item">
                <div class="placeholder" style="font-size: 17px;text-align: center;margin-top: 10px; color: #404040;">
                    教学特点
                </div>
            </div>
            <div class="weui-flex__item">
                <div class="placeholder" >
                </div>
            </div>
            <div class="">
                <input type="submit" name="grzl2" value="保存" onclick="ts()" style="border:none;margin-top: 15px;margin-right: 10px;font-size: 14px;color: #04BE02;background-color: #ffffff">
            </div>
        </div>
        <!--头部结束-->

        <div class="weui-panel"  style="margin-top: 8px;background: #eeefef">
            <div class="weui-cells" style="margin-top: 0px">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><img src=""></div>
                    <div class="weui-cell__bd weui-flex">
                        <div class="weui-flex__item">
                            <input id="gb" class="weui-input" type="text" style="margin-left: 8px;font-size: 14px;line-height: 22px" name="gxbq"  value="{$tc2['tager']}" placeholder="请输入文本">
                        </div>
                    </div>
                </div>
            </div>
            <div class="weui-cells" style="margin-top: 8px">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><img src=""></div>
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" id="jt" name="tdjs" style="font-size: 14px;margin-top: 8px;pxline-height: 22px" placeholder="请输入文本" rows="3">{$tc2['charater']}</textarea>
                    </div>
                </div>
            </div>
        </div>
        <!--<div class="weui-btn-area">-->
            <!--<input class="weui-btn weui-btn_primary" type="submit"   onclick="ts()" value="确定">-->
        <!--</div>-->
    </form>
</div>
<script>

    $(".weui-btn").click(function () {
        if($("#gb").val()==""||$("#jt").val()==""){
            alert("请将信息填写完整");
            $("#form").attr('action',"##");
        }
        else {
            window.location.href="{:url('Teacher/t2')}";
        }
    });

</script>
</body>
</html>
